<?php
/**
 * Created by PhpStorm.
 * User: VENKI
 * Date: 2021-03-08
 * Time: 15:00
 */

return [
    //公共
    'general'    => [
        'page'           => '页码数填写有误',
        'size'           => '每页记录数填写有误',
        'success_status' => 'success',
        'fault_status'   => 'fault',
    ],
    //admin
    'admin'      => [
        'success_admin_store'  => '新增用户成功',
        'fault_admin_store'    => '新增用户失败',
        'success_admin_delete' => '删除用户成功',
        'success_admin_update' => '更新用户成功',
    ],
    //role
    'role'       => [
        'id'                  => '角色ID必须填写',
        'name'                => '角色名称必须填写',
        'menus'               => '菜单数据格式必须是数组',
        'permissions'         => '接口数据格式必须是数组',
        'is_enable'           => '是否显示必须填写',
        'success_role_store'  => '新增角色成功',
        'success_role_update' => '更新角色成功',
        'success_role_delete' => '删除角色成功',
    ],
    //permission
    'permission' => [
        'success_permission_store'  => '添加权限成功',
        'success_permission_update' => '更新权限成功',
        'success_permission_delete' => '删除权限成功',
    ],
    //menu
    'menu'       => [
        'success_menu_store'  => '新增菜单成功',
        'success_menu_update' => '更新菜单成功',
        'success_menu_delete' => '删除菜单成功',
    ],
];
